home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus Special 16
/
AMIGAplus Sonderheft 16 (1998)(ICP)(DE)[!].iso
/
pd
/
anwendungen
/
xpk_source
/
shell
/
smakefile
next >
Wrap
Makefile
|
1998-08-27
|
2KB
|
89 lines
SLOPTS = LIB LIB:sc.lib LIB:SDI_ASM_STD_functions.lib SMALLDATA SMALLCODE\
STRIPDEBUG NOICONS FROM LIB:c.o
SCOPTS = RESOPT PARAMETERS=REGISTERS NOSTACKCHECK STRINGMERGE UNSIGNEDCHARS\
NOCHECKABORT OPTIMIZE OPTIMIZERSIZE OPTINLOCAL NOICONS MEMSIZE=HUGE
ODIR = //xpk_Binary/
All: xBench xDir xPack xPK xQuery xScan xType xUp
xBench: $(ODIR)xBench
xDir: $(ODIR)xDir
xPack: $(ODIR)xPack
xPK: $(ODIR)xPK
xQuery: $(ODIR)xQuery
xScan: $(ODIR)xScan
xType: $(ODIR)xType
xUp: $(ODIR)xUp
# ******* xBench stuff *******
$(ODIR)xBench: $(ODIR)xBench.o
slink SMALLDATA SMALLCODE STRIPDEBUG NOICONS LIB LIB:scnb.lib \
LIB:SDI_ASM_STD_functions.lib FROM $? TO $@
Protect $@ +p
$(ODIR)xBench.o: xBench.c
sc $(SCOPTS) $? DATA=FARONLY CODE=FAR OBJNAME=$@
# ******* xDir stuff *******
$(ODIR)xDir: $(ODIR)xDir.o
slink $(SLOPTS) $? TO $@
$(ODIR)xDir.o: xDir.c
sc $(SCOPTS) $? OBJNAME=$@
# ******* xPack stuff *******
$(ODIR)xPack: $(ODIR)xPack.o
slink LIB LIB:sc.lib SMALLDATA SMALLCODE STRIPDEBUG NOICONS \
FROM $? TO $@
Protect $@ +p
$(ODIR)xPack.o: xPack.c
sc $(SCOPTS) $? OBJNAME=$@
# ******* xPK stuff *******
$(ODIR)xPK: $(ODIR)xPK.o
slink $(SLOPTS) $? TO $@
$(ODIR)xPK.o: xPK.c
sc $(SCOPTS) $? OBJNAME=$@
# ******* xQuery stuff *******
$(ODIR)xQuery: $(ODIR)xQuery.o
slink $(SLOPTS) $? TO $@
$(ODIR)xQuery.o: xQuery.c
sc $(SCOPTS) $? OBJNAME=$@
# ******* xScan stuff *******
$(ODIR)xScan: $(ODIR)xScan.o
slink LIB LIB:sc.lib SMALLDATA SMALLCODE STRIPDEBUG NOICONS \
FROM $? TO $@
Protect $@ +p
$(ODIR)xScan.o: xScan.c
sc $(SCOPTS) $? OBJNAME=$@
# ******* xType stuff *******
$(ODIR)xType: $(ODIR)xType.o
slink $(SLOPTS) $? TO $@
$(ODIR)xType.o: xType.c
sc $(SCOPTS) $? OBJNAME=$@
# ******* xUp stuff *******
$(ODIR)xUp: $(ODIR)xUp.o
slink $(SLOPTS) $? TO $@
$(ODIR)xUp.o: xUp.c
sc $(SCOPTS) $? OBJNAME=$@